/* 基础样式 */
.root {
    -fx-font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
}

/* 按钮点击动画 */
@keyframes button-pulse {
    0% { -fx-scale-x: 1; -fx-scale-y: 1; }
    50% { -fx-scale-x: 0.95; -fx-scale-y: 0.95; }
    100% { -fx-scale-x: 1; -fx-scale-y: 1; }
}

.button-pulse {
    -fx-animation: button-pulse 0.3s ease;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% { -fx-translate-y: 0; -fx-rotate: 0; }
    50% { -fx-translate-y: -20; -fx-rotate: 5; }
}

.floating-shape {
    -fx-animation: float 10s ease-in-out infinite;
}

/* 箭头脉冲动画 */
@keyframes pulse-arrow {
    0%, 100% { -fx-opacity: 0.4; -fx-translate-x: 0; }
    50% { -fx-opacity: 0.8; -fx-translate-x: 3; }
}

.pulse-arrow {
    -fx-animation: pulse-arrow 2s infinite;
}